import axiosInstance from "@/utils/axiosInstance";

const addressInfo = {
    getMyAddressInfoList(){
        return axiosInstance.get("/addressInfo/getMyAddressInfoList");
    },
    addAddress({person_name,phone,tag,address}){
        return axiosInstance.post("/addressInfo/addAddress",{
            person_name,phone,tag,address
        })
    }
}

export default addressInfo;